package com.epam.necklace.logic.activity;

import org.apache.log4j.Logger;

import com.epam.necklace.model.stone.Stone;

public class GetPrise {
	private static final Logger log = Logger.getLogger(GetPrise.class);

	public void action() {
		int prise = 0;
		for (Stone beads : Necklace.necklace) {
			prise += (int) beads.getPrise();
		}
		log.info("Prise of your necklace- " + prise + " $");
	}
}
